<template>
  <div class="num-board">
    <div class="left">
      <div class="line">
        <dv-decoration-6 style="width: 200px; height: 60px" />
      </div>
    </div>
    <div class="right">
      <div class="title" v-html="props.title"></div>
      <m-digital v-bind="$attrs" />
    </div>
  </div>
</template>

<script setup>
import mDigital from '@/components/common/mDigital/index.vue'
const props = defineProps({
  title: {
    type: String,
    default: ''
  }
})
const l = computed(() => {
  return props.title.length
})
</script>

<style lang="less" scoped>
.num-board {
  display: flex;
  align-items: center;
  .left {
    width: 55%;
    height: 74px;
    overflow: hidden;
    position: relative;
    margin-right: 10px;
    .line {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
  }
  .right {
    min-width: 220px;
    flex: 1;
    .title {
      color: #35a3b6;
      font-size: 20px;
      padding-left: 10px;
      font-weight: 700;
      font-family: serif;
    }
    .m-digital {
      text-align: left;
      font-size: 26px;
    }
  }
}
</style>
